package com.yang.service;

import com.github.pagehelper.PageInfo;
import com.yang.pojo.Bill;

import java.util.List;

public interface BillService {
    //遍历所有订单
    List<Bill> queryAll();
    PageInfo<Bill> queryByBill(Bill bill,Integer pageNum,Integer pageSize);
    //添加订单
    Integer save(Bill bill);

    //查询详情
    Bill queryById(Integer id);

    //删除订单
    Integer delete(Integer id);
}
